const { ipcMain } = require('electron')
const { GetServiceList, AddService } = require('../interface')
ipcMain.handle('GetServiceList', async () => {
    return await GetServiceList()
})
ipcMain.handle('AddService', (event, service) => {
    AddService(service)
})